package com.agricultural.state;

import com.agricultural.equipment.AgriculturalEquipment;

// 状态模式：设备状态接口
public interface EquipmentState {
    void start(AgriculturalEquipment equipment);
    void stop(AgriculturalEquipment equipment);
    void performTask(AgriculturalEquipment equipment);
    void handleEmergency(AgriculturalEquipment equipment, String emergencyType);
    String getStateName();
}